from odoo import http, fields
from abc import ABC, abstractmethod


class APILoginAndRegister(http.Controller):
    """
    管理登陆注册类接口
    """

    @abstractmethod
    @http.route()
    def web_guest_login(self, **kw):
        """ web端游客登陆 """
        pass

    @abstractmethod
    @http.route()
    def web_user_login(self, **kw):
        """ web端会员登陆 """
        pass